$(function() {
	$(".main5-box .countryTop").click(function(){
		$('#Addform').modal({
		  backdrop:'static'
	   	});
		var timeStat=$("#dtp_input1").val();
		var timeEnd=$("#dtp_input2").val();
		var timeSectionValue = null;
		if ($(".time  .timeBtn.yes").length > 0) {
			timeSectionValue = $(".time  .timeBtn.yes").attr("data-section");
		}
		var countryCodeS=$(this).attr("data-code");
		$(".exporter .countryTop.yes").removeClass("yes");
		$(".exporter .countryTop[data-code='"+countryCodeS+"']").addClass("yes");
		$.ajax({
			
			url:"counntrygoods.htm",
			data:{startTime : timeStat,
				endTime : timeEnd,
				countryCode : countryCodeS,
				
				timeSection : timeSectionValue
				},
			type:"POST",
			dataType:"json",
			success:function(json){
				$("#goodsListTab").html("");
				var htmlTab="";
				if(json.goodsPage.result){
					$.each(json.goodsPage.result,function(i,item){
						
							htmlTab+="<tr data-code=\""+item.mainCode+"\"><td>"+(i+1)+"</td><td>"+item.mainCode+"</td><td>"+item.sumNum+"</td></tr>";
							
						});
					
				}
				$("#goodsListTab").html(htmlTab);
				trclick();
				$(".zTableStyle tbody tr:eq(0)").addClass("yes");
				$(".zTable_page").html("");
				
				var pageStr=getPageHtml(json.goodsPage.totalPages,json.goodsPage.pageNo);
				$(".zTable_page").html(pageStr);
				pageclick();
				var myChart = echarts.init(document.getElementById('exporter1'));
				myChart.showLoading({
					text : '正在努力的读取数据中...'
				});
				
				var option = {
			         title : {
			       
			    },
			    tooltip : {
			        trigger: 'axis'
			    },
			    legend: {
			        data:['奶粉']
			    },
			   
			    calculable : true,
				
			    xAxis : [
			        {
			            type : 'category',
			            boundaryGap : false,
			            data : []
			        }
			    ],
			    yAxis : [
			        {
			            type : 'value',		
						 axisLine: {
								lineStyle: {
									color: '#364447'
								}
							},
			        }
			    ],
			    series : [
			        {
			            name:'奶粉',
			            type:'line',
			            
			            itemStyle: {normal:{  
			                                           label:{show:true}  
			                                           ,areaStyle:{color:'rgba(255,203,110,0.5)'}   // 设置地图背景色的颜色设置
			                                           ,color:'rgba(255,203,110,1)' // 刚才说的图例颜色设置
			                                    },  
			                                    emphasis:{label:{show:true}}  },
			            data:[]
			        },
			    ]
				};
			                    
				var d=json;
				
				option.legend.data[0]=d.legend;
				option.xAxis[0].data=d.dateList;
				option.series[0].name=d.legend;
				option.series[0].data=d.sumArray;
				// 为echarts对象加载数据
				myChart.setOption(option);
				// echarts加载图形
				myChart.hideLoading();
				
				var myChart1 = echarts.init(document.getElementById('exporter2'));
				myChart1.showLoading({
					text : '正在努力的读取数据中...'
				});
				
				var option1 = {
			         title : {
			       
			    },
			    tooltip : {
			        trigger: 'axis'
			    },
			    legend: {
			    	data:['奶粉']
			    },
			   
			    calculable : true,
				
			    xAxis : [
			        {
			            type : 'category',
			            boundaryGap : false,
			            data : []
			        }
			    ],
			    yAxis : [
			        {
			            type : 'value',		
						 axisLine: {
								lineStyle: {
									color: '#364447'
								}
							},
			        }
			    ],
			    series : [
			        {
			            name:'奶粉',
			            type:'line',
			            
			            itemStyle: {normal:{  
			                                           label:{show:true}  
			                                           ,areaStyle:{color:'rgba(255,203,110,0.5)'}   // 设置地图背景色的颜色设置
			                                           ,color:'rgba(255,203,110,1)' // 刚才说的图例颜色设置
			                                    },  
			                                    emphasis:{label:{show:true}}  },
			            data:[]
			        },
			    ]
				};
			                    
				option1.legend.data[0]=d.legend;
				option1.xAxis[0].data=d.dateList;
				option1.series[0].name=d.legend;
				option1.series[0].data=d.avgArray;
				// 为echarts对象加载数据
				myChart1.setOption(option1);
				// echarts加载图形
				myChart1.hideLoading();
			}
			
		});
		
		
		
	
});
	$(".exporter .countryTop").click(function(){
		
		var timeStat=$("#dtp_input1").val();
		var timeEnd=$("#dtp_input2").val();
		var timeSectionValue = null;
		if ($(".time  .timeBtn.yes").length > 0) {
			timeSectionValue = $(".time  .timeBtn.yes").attr("data-section");
		}
		var countryCodeS=$(this).attr("data-code");
		$(".exporter .countryTop.yes").removeClass("yes");
		$(this).addClass("yes");
		$.ajax({
			
			url:"counntrygoods.htm",
			data:{startTime : timeStat,
				endTime : timeEnd,
				countryCode : countryCodeS,
				
				timeSection : timeSectionValue
				},
			type:"POST",
			dataType:"json",
			success:function(json){
				$("#goodsListTab").html("");
				var htmlTab="";
				if(json.goodsPage.result){
					$.each(json.goodsPage.result,function(i,item){
						
							htmlTab+="<tr data-code=\""+item.mainCode+"\"><td>"+(i+1)+"</td><td>"+item.mainCode+"</td><td>"+item.sumNum+"</td></tr>";
							
						});
					
				}
				$("#goodsListTab").html(htmlTab);
				trclick();
				$(".zTableStyle tbody tr:eq(0)").addClass("yes");
				$(".zTable_page").html("");
				
				var pageStr=getPageHtml(json.goodsPage.totalPages,json.goodsPage.pageNo);
				$(".zTable_page").html(pageStr);
				pageclick();
				var myChart = echarts.init(document.getElementById('exporter1'));
				myChart.showLoading({
					text : '正在努力的读取数据中...'
				});
				
				var option = {
			         title : {
			       
			    },
			    tooltip : {
			        trigger: 'axis'
			    },
			    legend: {
			        data:['奶粉']
			    },
			   
			    calculable : true,
				
			    xAxis : [
			        {
			            type : 'category',
			            boundaryGap : false,
			            data : []
			        }
			    ],
			    yAxis : [
			        {
			            type : 'value',		
						 axisLine: {
								lineStyle: {
									color: '#364447'
								}
							},
			        }
			    ],
			    series : [
			        {
			            name:'奶粉',
			            type:'line',
			            
			            itemStyle: {normal:{  
			                                           label:{show:true}  
			                                           ,areaStyle:{color:'rgba(255,203,110,0.5)'}   // 设置地图背景色的颜色设置
			                                           ,color:'rgba(255,203,110,1)' // 刚才说的图例颜色设置
			                                    },  
			                                    emphasis:{label:{show:true}}  },
			            data:[]
			        },
			    ]
				};
			                    
				var d=json;
				
				option.legend.data[0]=d.legend;
				option.xAxis[0].data=d.dateList;
				option.series[0].name=d.legend;
				option.series[0].data=d.sumArray;
				// 为echarts对象加载数据
				myChart.setOption(option);
				// echarts加载图形
				myChart.hideLoading();
				
				var myChart1 = echarts.init(document.getElementById('exporter2'));
				myChart1.showLoading({
					text : '正在努力的读取数据中...'
				});
				
				var option1 = {
			         title : {
			       
			    },
			    tooltip : {
			        trigger: 'axis'
			    },
			    legend: {
			    	data:['奶粉']
			    },
			   
			    calculable : true,
				
			    xAxis : [
			        {
			            type : 'category',
			            boundaryGap : false,
			            data : []
			        }
			    ],
			    yAxis : [
			        {
			            type : 'value',		
						 axisLine: {
								lineStyle: {
									color: '#364447'
								}
							},
			        }
			    ],
			    series : [
			        {
			            name:'奶粉',
			            type:'line',
			            
			            itemStyle: {normal:{  
			                                           label:{show:true}  
			                                           ,areaStyle:{color:'rgba(255,203,110,0.5)'}   // 设置地图背景色的颜色设置
			                                           ,color:'rgba(255,203,110,1)' // 刚才说的图例颜色设置
			                                    },  
			                                    emphasis:{label:{show:true}}  },
			            data:[]
			        },
			    ]
				};
			                    
				option1.legend.data[0]=d.legend;
				option1.xAxis[0].data=d.dateList;
				option1.series[0].name=d.legend;
				option1.series[0].data=d.avgArray;
				// 为echarts对象加载数据
				myChart1.setOption(option1);
				// echarts加载图形
				myChart1.hideLoading();
			}
			
		});
		
		
		
	
});	
	trclick=function trclick(){
		$(".zTableStyle tr").unbind().click(function(){
			
			var timeStat=$("#dtp_input1").val();
			var timeEnd=$("#dtp_input2").val();
			var timeSectionValue = null;
			if ($(".time  .timeBtn.yes").length > 0) {
				timeSectionValue = $(".time  .timeBtn.yes").attr("data-section");
			}
			var goodsNameS=$(this).attr("data-code");
			var countryCodeS =$(".exporter .countryTop.yes").attr("data-code");
			$(".zTableStyle tr.yes").removeClass("yes");
			$(this).addClass("yes");
			
			$.ajax({
				
				url:"counntrygoods.htm",
				data:{startTime : timeStat,
					endTime : timeEnd,
					countryCode : countryCodeS,
					goodsName:goodsNameS,
					timeSection : timeSectionValue
					},
				type:"POST",
				dataType:"json",
				success:function(json){
					
					
					
					var myChart = echarts.init(document.getElementById('exporter1'));
					myChart.showLoading({
						text : '正在努力的读取数据中...'
					});
					
					var option = {
				         title : {
				       
				    },
				    tooltip : {
				        trigger: 'axis'
				    },
				    legend: {
				        data:['奶粉']
				    },
				   
				    calculable : true,
					
				    xAxis : [
				        {
				            type : 'category',
				            boundaryGap : false,
				            data : []
				        }
				    ],
				    yAxis : [
				        {
				            type : 'value',		
							 axisLine: {
									lineStyle: {
										color: '#364447'
									}
								},
				        }
				    ],
				    series : [
				        {
				            name:'奶粉',
				            type:'line',
				            
				            itemStyle: {normal:{  
				                                           label:{show:true}  
				                                           ,areaStyle:{color:'rgba(255,203,110,0.5)'}   // 设置地图背景色的颜色设置
				                                           ,color:'rgba(255,203,110,1)' // 刚才说的图例颜色设置
				                                    },  
				                                    emphasis:{label:{show:true}}  },
				            data:[]
				        },
				    ]
					};
				                    
					var d=json;
					
					option.legend.data[0]=d.legend;
					option.xAxis[0].data=d.dateList;
					option.series[0].name=d.legend;
					option.series[0].data=d.sumArray;
					// 为echarts对象加载数据
					myChart.setOption(option);
					// echarts加载图形
					myChart.hideLoading();
					
					var myChart1 = echarts.init(document.getElementById('exporter2'));
					myChart1.showLoading({
						text : '正在努力的读取数据中...'
					});
					
					var option1 = {
				         title : {
				       
				    },
				    tooltip : {
				        trigger: 'axis'
				    },
				    legend: {
				    	data:['奶粉']
				    },
				   
				    calculable : true,
					
				    xAxis : [
				        {
				            type : 'category',
				            boundaryGap : false,
				            data : []
				        }
				    ],
				    yAxis : [
				        {
				            type : 'value',		
							 axisLine: {
									lineStyle: {
										color: '#364447'
									}
								},
				        }
				    ],
				    series : [
				        {
				            name:'奶粉',
				            type:'line',
				            
				            itemStyle: {normal:{  
				                                           label:{show:true}  
				                                           ,areaStyle:{color:'rgba(255,203,110,0.5)'}   // 设置地图背景色的颜色设置
				                                           ,color:'rgba(255,203,110,1)' // 刚才说的图例颜色设置
				                                    },  
				                                    emphasis:{label:{show:true}}  },
				            data:[]
				        },
				    ]
					};
				                    
					option1.legend.data[0]=d.legend;
					option1.xAxis[0].data=d.dateList;
					option1.series[0].name=d.legend;
					option1.series[0].data=d.avgArray;
					// 为echarts对象加载数据
					myChart1.setOption(option1);
					// echarts加载图形
					myChart1.hideLoading();
				}
				
			});
		});
	};
	
	pageclick=function pageclick(){
		$(".zTable_page .pageNum").unbind().click(function(){
			if($(this).hasClass("yes")){
				return ;
			}
			var timeStat=$("#dtp_input1").val();
			var timeEnd=$("#dtp_input2").val();
			var timeSectionValue = null;
			if ($(".time  .timeBtn.yes").length > 0) {
				timeSectionValue = $(".time  .timeBtn.yes").attr("data-section");
			}
			var countryCodeS=$(".exporter .countryTop.yes").attr("data-code");
			var pageNoS=parseInt($(this).html());
			$(this).addClass("yes");
			$.ajax({
				
				url:"counntrygoods.htm",
				data:{startTime : timeStat,
					endTime : timeEnd,
					countryCode : countryCodeS,
					pageNo:pageNoS,
					timeSection : timeSectionValue
					},
				type:"POST",
				dataType:"json",
				success:function(json){
					$("#goodsListTab").html("");
					var htmlTab="";
					if(json.goodsPage.result){
						$.each(json.goodsPage.result,function(i,item){
							
								htmlTab+="<tr data-code=\""+item.mainCode+"\"><td>"+(i+1)+"</td><td>"+item.mainCode+"</td><td>"+item.sumNum+"</td></tr>";
								
							});
						
					}
					$("#goodsListTab").html(htmlTab);
					trclick();
					$(".zTableStyle tbody tr:eq(0)").addClass("yes");
					$(".zTable_page").html("");
					
					var pageStr=getPageHtml(json.goodsPage.totalPages,json.goodsPage.pageNo);
					$(".zTable_page").html(pageStr);
					pageclick();
					
					var myChart = echarts.init(document.getElementById('exporter1'));
					myChart.showLoading({
						text : '正在努力的读取数据中...'
					});
					
					var option = {
				         title : {
				       
				    },
				    tooltip : {
				        trigger: 'axis'
				    },
				    legend: {
				        data:['奶粉']
				    },
				   
				    calculable : true,
					
				    xAxis : [
				        {
				            type : 'category',
				            boundaryGap : false,
				            data : []
				        }
				    ],
				    yAxis : [
				        {
				            type : 'value',		
							 axisLine: {
									lineStyle: {
										color: '#364447'
									}
								},
				        }
				    ],
				    series : [
				        {
				            name:'奶粉',
				            type:'line',
				            
				            itemStyle: {normal:{  
				                                           label:{show:true}  
				                                           ,areaStyle:{color:'rgba(255,203,110,0.5)'}   // 设置地图背景色的颜色设置
				                                           ,color:'rgba(255,203,110,1)' // 刚才说的图例颜色设置
				                                    },  
				                                    emphasis:{label:{show:true}}  },
				            data:[]
				        },
				    ]
					};
				                    
					var d=json;
					
					option.legend.data[0]=d.legend;
					option.xAxis[0].data=d.dateList;
					option.series[0].name=d.legend;
					option.series[0].data=d.sumArray;
					// 为echarts对象加载数据
					myChart.setOption(option);
					// echarts加载图形
					myChart.hideLoading();
					
					var myChart1 = echarts.init(document.getElementById('exporter2'));
					myChart1.showLoading({
						text : '正在努力的读取数据中...'
					});
					
					var option1 = {
				         title : {
				       
				    },
				    tooltip : {
				        trigger: 'axis'
				    },
				    legend: {
				    	data:['奶粉']
				    },
				   
				    calculable : true,
					
				    xAxis : [
				        {
				            type : 'category',
				            boundaryGap : false,
				            data : []
				        }
				    ],
				    yAxis : [
				        {
				            type : 'value',		
							 axisLine: {
									lineStyle: {
										color: '#364447'
									}
								},
				        }
				    ],
				    series : [
				        {
				            name:'奶粉',
				            type:'line',
				            
				            itemStyle: {normal:{  
				                                           label:{show:true}  
				                                           ,areaStyle:{color:'rgba(255,203,110,0.5)'}   // 设置地图背景色的颜色设置
				                                           ,color:'rgba(255,203,110,1)' // 刚才说的图例颜色设置
				                                    },  
				                                    emphasis:{label:{show:true}}  },
				            data:[]
				        },
				    ]
					};
				                    
					option1.legend.data[0]=d.legend;
					option1.xAxis[0].data=d.dateList;
					option1.series[0].name=d.legend;
					option1.series[0].data=d.avgArray;
					// 为echarts对象加载数据
					myChart1.setOption(option1);
					// echarts加载图形
					myChart1.hideLoading();
				}
				
			});
		});
		
		$(".zTable_page .previous").unbind().click(function(){
			if($(this).hasClass("disabled")){
				return ;
			}
			var timeStat=$("#dtp_input1").val();
			var timeEnd=$("#dtp_input2").val();
			var timeSectionValue = null;
			if ($(".time  .timeBtn.yes").length > 0) {
				timeSectionValue = $(".time  .timeBtn.yes").attr("data-section");
			}
			var countryCodeS=$(".exporter .countryTop.yes").attr("data-code");
			var pageNoS=parseInt($(".zTable_page .pageNum.yes").html());
			pageNoS=pageNoS-1;
			
			$.ajax({
				
				url:"counntrygoods.htm",
				data:{startTime : timeStat,
					endTime : timeEnd,
					countryCode : countryCodeS,
					pageNo:pageNoS,
					timeSection : timeSectionValue
					},
				type:"POST",
				dataType:"json",
				success:function(json){
					$("#goodsListTab").html("");
					var htmlTab="";
					if(json.goodsPage.result){
						$.each(json.goodsPage.result,function(i,item){
							
								htmlTab+="<tr data-code=\""+item.mainCode+"\"><td>"+(i+1)+"</td><td>"+item.mainCode+"</td><td>"+item.sumNum+"</td></tr>";
								
							});
						
					}
					$("#goodsListTab").html(htmlTab);
					trclick();
					$(".zTableStyle tbody tr:eq(0)").addClass("yes");
					$(".zTable_page").html("");
					
					var pageStr=getPageHtml(json.goodsPage.totalPages,json.goodsPage.pageNo);
					$(".zTable_page").html(pageStr);
					pageclick();
					
					var myChart = echarts.init(document.getElementById('exporter1'));
					myChart.showLoading({
						text : '正在努力的读取数据中...'
					});
					
					var option = {
				         title : {
				       
				    },
				    tooltip : {
				        trigger: 'axis'
				    },
				    legend: {
				        data:['奶粉']
				    },
				   
				    calculable : true,
					
				    xAxis : [
				        {
				            type : 'category',
				            boundaryGap : false,
				            data : []
				        }
				    ],
				    yAxis : [
				        {
				            type : 'value',		
							 axisLine: {
									lineStyle: {
										color: '#364447'
									}
								},
				        }
				    ],
				    series : [
				        {
				            name:'奶粉',
				            type:'line',
				            
				            itemStyle: {normal:{  
				                                           label:{show:true}  
				                                           ,areaStyle:{color:'rgba(255,203,110,0.5)'}   // 设置地图背景色的颜色设置
				                                           ,color:'rgba(255,203,110,1)' // 刚才说的图例颜色设置
				                                    },  
				                                    emphasis:{label:{show:true}}  },
				            data:[]
				        },
				    ]
					};
				                    
					var d=json;
					
					option.legend.data[0]=d.legend;
					option.xAxis[0].data=d.dateList;
					option.series[0].name=d.legend;
					option.series[0].data=d.sumArray;
					// 为echarts对象加载数据
					myChart.setOption(option);
					// echarts加载图形
					myChart.hideLoading();
					
					var myChart1 = echarts.init(document.getElementById('exporter2'));
					myChart1.showLoading({
						text : '正在努力的读取数据中...'
					});
					
					var option1 = {
				         title : {
				       
				    },
				    tooltip : {
				        trigger: 'axis'
				    },
				    legend: {
				    	data:['奶粉']
				    },
				   
				    calculable : true,
					
				    xAxis : [
				        {
				            type : 'category',
				            boundaryGap : false,
				            data : []
				        }
				    ],
				    yAxis : [
				        {
				            type : 'value',		
							 axisLine: {
									lineStyle: {
										color: '#364447'
									}
								},
				        }
				    ],
				    series : [
				        {
				            name:'奶粉',
				            type:'line',
				            
				            itemStyle: {normal:{  
				                                           label:{show:true}  
				                                           ,areaStyle:{color:'rgba(255,203,110,0.5)'}   // 设置地图背景色的颜色设置
				                                           ,color:'rgba(255,203,110,1)' // 刚才说的图例颜色设置
				                                    },  
				                                    emphasis:{label:{show:true}}  },
				            data:[]
				        },
				    ]
					};
				                    
					option1.legend.data[0]=d.legend;
					option1.xAxis[0].data=d.dateList;
					option1.series[0].name=d.legend;
					option1.series[0].data=d.avgArray;
					// 为echarts对象加载数据
					myChart1.setOption(option1);
					// echarts加载图形
					myChart1.hideLoading();
				}
				
			});
		});
		$(".zTable_page .next").unbind().click(function(){
			if($(this).hasClass("disabled")){
				return ;
			}
			var timeStat=$("#dtp_input1").val();
			var timeEnd=$("#dtp_input2").val();
			var timeSectionValue = null;
			if ($(".time  .timeBtn.yes").length > 0) {
				timeSectionValue = $(".time  .timeBtn.yes").attr("data-section");
			}
			var countryCodeS=$(".exporter .countryTop.yes").attr("data-code");
			
			var pageNoS=parseInt($(".zTable_page .pageNum.yes").html());
			pageNoS=pageNoS+1;
			//$(this).addClass("yes");
			$.ajax({
				
				url:"counntrygoods.htm",
				data:{startTime : timeStat,
					endTime : timeEnd,
					countryCode : countryCodeS,
					pageNo:pageNoS,
					timeSection : timeSectionValue
					},
				type:"POST",
				dataType:"json",
				success:function(json){
					$("#goodsListTab").html("");
					var htmlTab="";
					if(json.goodsPage.result){
						$.each(json.goodsPage.result,function(i,item){
							
								htmlTab+="<tr data-code=\""+item.mainCode+"\"><td>"+(i+1)+"</td><td>"+item.mainCode+"</td><td>"+item.sumNum+"</td></tr>";
								
							});
						
					}
					$("#goodsListTab").html(htmlTab);
					trclick();
					$(".zTableStyle tbody tr:eq(0)").addClass("yes");
					$(".zTable_page").html("");
					
					var pageStr=getPageHtml(json.goodsPage.totalPages,json.goodsPage.pageNo);
					$(".zTable_page").html(pageStr);
					pageclick();
				
					var myChart = echarts.init(document.getElementById('exporter1'));
					myChart.showLoading({
						text : '正在努力的读取数据中...'
					});
					
					var option = {
				         title : {
				       
				    },
				    tooltip : {
				        trigger: 'axis'
				    },
				    legend: {
				        data:['奶粉']
				    },
				   
				    calculable : true,
					
				    xAxis : [
				        {
				            type : 'category',
				            boundaryGap : false,
				            data : []
				        }
				    ],
				    yAxis : [
				        {
				            type : 'value',		
							 axisLine: {
									lineStyle: {
										color: '#364447'
									}
								},
				        }
				    ],
				    series : [
				        {
				            name:'奶粉',
				            type:'line',
				            
				            itemStyle: {normal:{  
				                                           label:{show:true}  
				                                           ,areaStyle:{color:'rgba(255,203,110,0.5)'}   // 设置地图背景色的颜色设置
				                                           ,color:'rgba(255,203,110,1)' // 刚才说的图例颜色设置
				                                    },  
				                                    emphasis:{label:{show:true}}  },
				            data:[]
				        },
				    ]
					};
				                    
					var d=json;
					
					option.legend.data[0]=d.legend;
					option.xAxis[0].data=d.dateList;
					option.series[0].name=d.legend;
					option.series[0].data=d.sumArray;
					// 为echarts对象加载数据
					myChart.setOption(option);
					// echarts加载图形
					myChart.hideLoading();
					
					var myChart1 = echarts.init(document.getElementById('exporter2'));
					myChart1.showLoading({
						text : '正在努力的读取数据中...'
					});
					
					var option1 = {
				         title : {
				       
				    },
				    tooltip : {
				        trigger: 'axis'
				    },
				    legend: {
				    	data:['奶粉']
				    },
				   
				    calculable : true,
					
				    xAxis : [
				        {
				            type : 'category',
				            boundaryGap : false,
				            data : []
				        }
				    ],
				    yAxis : [
				        {
				            type : 'value',		
							 axisLine: {
									lineStyle: {
										color: '#364447'
									}
								},
				        }
				    ],
				    series : [
				        {
				            name:'奶粉',
				            type:'line',
				            
				            itemStyle: {normal:{  
				                                           label:{show:true}  
				                                           ,areaStyle:{color:'rgba(255,203,110,0.5)'}   // 设置地图背景色的颜色设置
				                                           ,color:'rgba(255,203,110,1)' // 刚才说的图例颜色设置
				                                    },  
				                                    emphasis:{label:{show:true}}  },
				            data:[]
				        },
				    ]
					};
				                    
					option1.legend.data[0]=d.legend;
					option1.xAxis[0].data=d.dateList;
					option1.series[0].name=d.legend;
					option1.series[0].data=d.avgArray;
					// 为echarts对象加载数据
					myChart1.setOption(option1);
					// echarts加载图形
					myChart1.hideLoading();
				}
				
			});
		});
	};
	
	});